// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import Login from './components/login.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'font-awesome/css/font-awesome.css'
import i18n from './resources/i18n'
import axios from 'axios'
import VueAxios from 'vue-axios'
import VueCookies from 'vue-cookies'
import AppConfig from './appRuntime/'
import './mock/index'
import 'babel-polyfill'

Vue.config.productionTip = false
// Vue.prototype.appRuntime = AppConfig;

Vue.use(ElementUI)
Vue.use(VueAxios, axios)
Vue.use(VueCookies)
Vue.use(AppConfig)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  i18n,
  components: { Login },
  template: '<login/>'
})
